package com.huanzhidadi.java8inaction.chapter2;

import java.io.BufferedReader;
import java.io.IOException;

/**
 * 2、使用函数式接口来传递行为
 */
@FunctionalInterface
public interface BufferedReaderProcessor {
    String process(BufferedReader p) throws IOException;
}
